home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_2
/
to_day19.zip
/
TO-DAY.DOC
< prev
next >
Wrap
Text File
|
1991-01-08
|
4KB
|
92 lines
TO-DAY
by Roland Haley
Release 1.07 01/08/91
This program determines the current date, then reads data files
containing historical facts and produces a file of interesting
information about the current date. It is intended for use with
PCBoard 14.5 systems. The files are created using the HEXADECIMAL
codes so there is only one file to worry about. This can be your
NEWS file, or any other that you choose.
Plus, it also creates a LOGOFF file which is a one or two liner
when the user logs off your system. Each day is different. To get
the log-off files (if not already on your system) call Haley's
Comment BBS.
TO-DAY.EXE will read a file created just for your system, called
"TODAY.LCL" and placed in the same path as the other TODAY.xxx
files. In this file you enter the birthdates of your members and
any other item for the entire year. Just follow the format of the
sample file. In this way, you may "customize" your display with
special events or reminders you desire, without having to edit
the monthly files.
SETTING UP:
The only elements that need to be set up to operate this program
are the TODAY.LCL file and the TODAY.CFG file. These files MUST
be located in the current logged directory whenever TO-DAY.EXE is
executed.
The TODAY.CFG only requires three lines.The first line containing
the name of your BBS, and the second line containing the path and
name of the file you want to write to, and the third, your path
to the SCRIPT0 file. eg.
Haley's Comment BBS <= Name of YOUR BBS
D:\NEWS\0NEWS <= Path & name of file to write to
D:\SCRIPT <= Path of your SCRIPT0 file
But if you wish to change the color of the printed file, then add
three extra lines. eg.
@X0F <= Color of main title
@X0E <= Color of sub title
@X0B <= Color of messages
TESTING:
To test the program, simply type TO-DAY <enter> and the output
file you have named in the TODAY.CFG file will be created
(or overwritten if it already exists), and so will the SCRIPT0
file.
OPERATION:
The recomended operation of TO-DAY.EXE is have it called from
the EVENT.SYS file during your automatic daily maintenance
shortly after midnight. Add these two lines to your EVENT.SYS
CD \NEWEVENT <--- You should change this to the directory where
TODAY.CFG will be located.
TO-DAY.EXE <--- Next, execute the program, which will get the
date from the system clock and produce the
output file(s) as specified in TODAY.CFG.
SPECIAL NOTE:
This program uses data files which are based on a data format and
content used by a number of similar programs. Consequently, other
sources produce data files compatible with this format, and
you may wish to merge them into these files. Avoid duplication,
or both entries will be displayed in your output file. Also,
be cautious about SORTING the new entries, as the SORT routine
may be confused by the sequence of some of the multiple line
entries in these or other data files.
This program is free for you to use as you wish. But please call
Haley's Comment BBS at either of the numbers listed below, and
register as visiting SysOp. After approximately 24 hrs, you will
be able to download the latest data and log-off files, also the
latest door programs available.
Roland Haley
Haley's Comment BBS
(519) 469-3028 HST
(519) 469-3173 2400b